package com.fzkj.shejimoshi.strategy;

import com.fzkj.shejimoshi.strategy.domain.User;
import com.fzkj.shejimoshi.strategy.enums.LoginType;

/**
 * @DESCRIPTION: TODO
 * @AUTHOR: AnotherOne
 * @DATE: 2021/7/16 11:35
 */
public class QQUserStrategy implements UserStrategy {
    @Override
    public User getUser(String name) {
        System.out.println(name + "请求qq登录");
        return null;
    }

    /**
     * 返回支持的登录类型
     */
    public LoginType supportType(){
        return LoginType.QQ;
    }
}
